package com.mjf.cjt.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 销售订单列表查询
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SaleOrderVo {

    private String code;	//单据编号
    private Long id;	//单据ID
    private String ts;	//数据库时间戳
    private String voucherdate;	//单据日期
    private String businesstype_name;	//业务类型名称
    private String returnordertype_name;	//售后类型名称
    private String returnreason_name;	//退货原因名称
    private String returnorderreason;	//退货说明
    private String customer_code;	//客户编码
    private String customer_name;	//客户名称
    private String customer_partnerabbname;	//客户简称
    private String settlecustomer_code;	//结算客户编码
    private String settlecustomer_name;	//结算客户名称
    private String settlecustomer_partnerabbname;	//结算客户简称
    private String department_name;	//部门名称
    private String clerk_name;	//业务员姓名
    private String project_name;	//项目名称
    private String warehouse_name;	//仓库名称
    private String receivewarehouse_name;	//收货仓库名称
    private String deliverydate;	//预计交货日期
    private String deliverymode_name;	//运输方式名称
    private String address;	//送货地址
    private String province_name;	//省份名称
    private String city_name;	//城市名称
    private String district_name;	//区县名称
    private String logisticsnetwork_name;	//物流网点名称
    private String transdocno;	//运单号
    private String deliverycode;	//发货单号
    private String deliveryvoucherdate;	//发货日期
    private String transdriverphone;	//司机电话
    private String logisticssettlementmodes_name;	//物流结算方式名称
    private String transvehicleinfo;	//车辆信息
    private String transdrivername;	//司机姓名
    private String logisticsstatus_name;	//物流状态名称
    private String linkman;	//联系人
    private String contactphone;	//联系电话
    private String customerphone;	//客户联系电话
    private String contractcode;	//合同号
    private String recivetype_name;	//收款方式名称
    private String discountrate;	//整单折扣%
    private String datasource_name;	//数据来源名称
    private String externalvouchercode;	//外部单号
    private String sourcevouchercode;	//来源单据编码
    private String sourcevouchertype_name;	//来源单据名称
    private String voucherstate_name;	//单据状态名称
    private String socialcollaboratestatus_name;	//协同状态名称
    private String iscounteractorder;	//冲抵订货
    private String collaboratevouchercode;	//协同对方单号
    private String memo;	//备注
    private String maker;	//制单人
    private String agency;	//代理人
    private String reviser;	//修改人
    private String auditor;	//审核人
    private String auditeddate;	//审核日期
    private String auditedtime;	//审核时间
    private String printcount;	//打印次数
    private String changer;	//变更人
    private String changedate;	//变更日期
    private String closer;	//中止人
    private String closedate;	//中止日期
    private String createdtime;	//创建时间
    private String customer_partnerclass_name;	//客户分类名称
    private String exchangerate;	//汇率
    private String currency_name;	//币种名称
    private BigDecimal member_balanceintegral;	//积分余额
    private String member_code;	//会员编号
    private String member_cardcode;	//会员卡号
    private String member_name;	//会员姓名
    private String mobilephone;	//手机号
    private String memberaddress;	//通讯地址
    private String logisticsfee;	//运费
    private String bomrule_name;	//报价规则
    private String priuserdefnvc1;	//专用字符自定义项1
    private String priuserdefnvc2;	//专用字符自定义项2
    private String priuserdefnvc3;	//专用字符自定义项3
    private String priuserdefnvc4;	//专用字符自定义项4
    private String priuserdefnvc5;	//专用字符自定义项5
    private String priuserdefnvc6;	//专用字符自定义项6
    private String priuserdefdecm1;	//专用数值自定义项1
    private String priuserdefdecm2;	//专用数值自定义项2
    private String priuserdefdecm3;	//专用数值自定义项3
    private String priuserdefdecm4;	//专用数值自定义项4
    private String priuserdefdecm5;	//专用数值自定义项5
    private String priuserdefdecm6;	//专用数值自定义项7
    private String pubuserdefnvc1;	//公用字符自定义项1
    private String pubuserdefnvc2;	//公用字符自定义项2
    private String pubuserdefnvc3;	//公用字符自定义项3
    private String pubuserdefnvc4;	//公用字符自定义项4
    private String pubuserdefnvc5;	//公用字符自定义项5
    private String pubuserdefnvc6;	//公用字符自定义项6
    private String pubuserdefdecm1;	//公用数值自定义项1
    private String pubuserdefdecm2;	//公用数值自定义项2
    private String pubuserdefdecm3;	//公用数值自定义项3
    private String pubuserdefdecm4;	//公用数值自定义项4
    private String pubuserdefdecm5;	//公用数值自定义项5
    private String pubuserdefdecm6;	//公用数值自定义项6
    private String customer_priuserdefdecm1;	//数值客户自定义项1
    private String customer_priuserdefdecm2;	//数值客户自定义项2
    private String customer_priuserdefdecm3;	//数值客户自定义项3
    private String customer_priuserdefdecm4;	//数值客户自定义项4
    private String customer_priuserdefdecm5;	//数值客户自定义项5
    private String customer_priuserdefnvc1;	//字符客户自定义项1
    private String customer_priuserdefnvc2;	//字符客户自定义项2
    private String customer_priuserdefnvc3;	//字符客户自定义项3
    private String customer_priuserdefnvc4;	//字符客户自定义项4
    private String customer_priuserdefnvc5;	//字符客户自定义项5
    private BigDecimal origamount;	//总金额
    private BigDecimal origtaxamount;	//含税总金额
    private BigDecimal amount;	//本币总金额
    private BigDecimal taxamount;	//本币含税总金额
    private String idmarketingorgan;	//机构ID
    private Long saleorderdetails_id;	//销售订单明细ID
    private String saleorderdetails_warehouse_name;	//仓库名称
    private String saleorderdetails_project_name;	//项目名称
    private String saleorderdetails_partnerinventoryname;	//客户存货名称
    private String saleorderdetails_partnerinventorycode;	//客户存货编码
    private String saleorderdetails_inventory_name;	//存货名称
    private String saleorderdetails_inventory_inventoryclass_name;	//存货分类
    private String saleorderdetails_inventory_code;	//存货编码
    private String saleorderdetails_inventory_specification;	//规格型号
    private String saleorderdetails_inventory_priuserdefnvc1;	//存货字符自定义项1
    private String saleorderdetails_inventory_priuserdefnvc2;	//存货字符自定义项2
    private String saleorderdetails_inventory_priuserdefnvc3;	//存货字符自定义项3
    private String saleorderdetails_inventory_priuserdefnvc4;	//存货字符自定义项4
    private String saleorderdetails_inventory_priuserdefnvc5;	//存货字符自定义项5
    private BigDecimal saleorderdetails_inventory_priuserdefdecm1;	//存货数值自定义项1
    private BigDecimal saleorderdetails_inventory_priuserdefdecm2;	//存货数值自定义项2
    private BigDecimal saleorderdetails_inventory_priuserdefdecm3;	//存货数值自定义项3
    private BigDecimal saleorderdetails_inventory_priuserdefdecm4;	//存货数值自定义项4
    private BigDecimal saleorderdetails_inventory_priuserdefdecm5;	//存货数值自定义项5
    private String saleorderdetails_unit_name;	//销售单位
    private BigDecimal saleorderdetails_quantity;	//数量
    private String saleorderdetails_unit2_name;	//计量单位2
    private String saleorderdetails_unitexchangerate;	//换算率
    private BigDecimal saleorderdetails_quantity2;	//数量2
    private String saleorderdetails_compositionquantity;	//计量单位组合
    private BigDecimal saleorderdetails_retailprice;	//零售价
    private BigDecimal saleorderdetails_latestporigtaxprice;	//最新含税进价
    private BigDecimal saleorderdetails_latestsaleorigtaxprice;	//最新含税售价
    private BigDecimal saleorderdetails_lowestsaleprice;	//最低售价
    private BigDecimal saleorderdetails_singleinvgrossprofit;	//单品毛利
    private BigDecimal saleorderdetails_grossprofit;	//参考毛利
    private String saleorderdetails_grossprofitrate;	//毛利率%
    private BigDecimal saleorderdetails_origprice;	//报价
    private String saleorderdetails_discountrate;	//折扣
    private BigDecimal saleorderdetails_origdiscountprice;	//单价
    private String saleorderdetails_taxrate;	//税率%
    private BigDecimal saleorderdetails_origtaxprice;	//含税单价
    private BigDecimal saleorderdetails_origdiscountamount;	//金额
    private BigDecimal saleorderdetails_origtax;	//税额
    private BigDecimal saleorderdetails_origtaxamount;	//含税金额
    private BigDecimal saleorderdetails_origdiscount;	//折扣金额
    private BigDecimal saleorderdetails_totalcost;	//计划成本
    private BigDecimal saleorderdetails_costunitprice;	//计划成本单价（主单位）
    private BigDecimal saleorderdetails_salescostunitprice;	//销售单位计划成本单价
    private String saleorderdetails_markuprate;	//加价率%
    private BigDecimal saleorderdetails_markupamount;	//加价
    private BigDecimal saleorderdetails_discountprice;	//本币单价
    private BigDecimal saleorderdetails_taxprice;	//本币含税单价
    private BigDecimal saleorderdetails_discountamount;	//本币金额
    private BigDecimal saleorderdetails_tax;	//本币税额
    private BigDecimal saleorderdetails_taxamount;	//本币含税金额
    private BigDecimal saleorderdetails_discount;	//本币折扣金额
    private String saleorderdetails_deliverydate;	//预计交货日期
    private BigDecimal saleorderdetails_ispresent;	//是否赠品
    private String saleorderdetails_isclose;	//行中止
    private String saleorderdetails_closer;	//中止人
    private String saleorderdetails_datasource_name;	//数据来源
    private String saleorderdetails_sourcevouchertype_name;	//来源单据
    private String saleorderdetails_sourcevouchercode;	//来源单号
    private String saleorderdetails_priuserdefnvc1;	//专用字符自定义项1
    private String saleorderdetails_priuserdefnvc2;	//专用字符自定义项2
    private String saleorderdetails_priuserdefnvc3;	//专用字符自定义项3
    private String saleorderdetails_priuserdefnvc4;	//专用字符自定义项4
    private String saleorderdetails_priuserdefdecm1;	//专用数值自定义项1
    private String saleorderdetails_priuserdefdecm2;	//专用数值自定义项2
    private String saleorderdetails_priuserdefdecm3;	//专用数值自定义项3
    private String saleorderdetails_priuserdefdecm4;	//专用数值自定义项4
    private String saleorderdetails_pubuserdefnvc1;	//公用字符自定义项1
    private String saleorderdetails_pubuserdefnvc2;	//公用字符自定义项2
    private String saleorderdetails_pubuserdefnvc3;	//公用字符自定义项3
    private String saleorderdetails_pubuserdefnvc4;	//公用字符自定义项4
    private BigDecimal saleorderdetails_pubuserdefdecm1;	//公用数值自定义项1
    private BigDecimal saleorderdetails_pubuserdefdecm2;	//公用数值自定义项2
    private BigDecimal saleorderdetails_pubuserdefdecm3;	//公用数值自定义项3
    private BigDecimal saleorderdetails_pubuserdefdecm4;	//公用数值自定义项4
    private String detailmemo;	//明细备注
}
